home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
vol_400
/
408_01
/
dirnews.bat
< prev
next >
Wrap
DOS Batch File
|
1993-08-24
|
430b
|
10 lines
@echo off
rem 93-08-25 Daniel Fandrich
rem Displays a directory, which, if it is a SNews NEWSBASE directory, will
rem contain the newsgroup name and be sorted in order by size.
rem The output is gross, but it's better than just the file names!
rem Requires sed and MS-DOS ver. >= 5.0
sed "s/^\([^ ]*\) \([^ ]*\).*$/s@\2@\1 \2@/" ..\active > %temp%dirnews.$$$
dir /os *. | sed -f %temp%dirnews.$$$
del %temp%dirnews.$$$